import request from '@/utils/request'

// 学科
export const subjectTypeApi = (params) => request({
    url: '/subjects',
    params
})

// 二级目录
export const secondedDirectorysApi = (params) => request({
    url: '/directorys',
    params
})

// 企业
export const enterpriseApi = (params) => request({
    url: '/companys',
    params
})
// 添加
<<<<<<< HEAD
export const addtoApi = ( data) => request({
    url: '/questions',
    method: 'POST',
    data
})
// 回显
export const addtoApis = (id) => request({
    url: `/questions/${id}:id=${id}`,
=======
export const addtoApi = (params) => request({
    url: '/questions',
    method: 'POST',
    params
>>>>>>> gxd
})

